<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/ExportBusiness/searchfirst.css">
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="layui-card-header layui-bg-cyan">
            <span>按发票应收统计价格术语不同</span>
        </div>
        <div class="layui-card-body">
            <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-tab layui-tab-card">
                        <form class="layui-form layui-from-pane" action="" id="editor-form" lay-filter="editor-form">
                            <input type="hidden" name="pageType" value="2">
                            <div class="layui-inline">
                                <label class="layui-form-label">发票单据类型</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="status" class="xm-select-demo"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">业务模式</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="businessMode" class="xm-select-demo"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">操作员</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="operationCode" class="xm-select-demo" style="width: 200px;"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">业务员</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="salesmanCode" class="xm-select-demo" style="width: 200px;"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">部门操作员</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="deptOperationCode" class="xm-select-demo"></div>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">部门业务员</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="deptSalesmanCode" class="xm-select-demo"></div>
                                </div>
                            </div>


                            <div class="layui-inline daterange">
                                <label class="layui-form-label">发票日期</label>
                                <div class="layui-input-inline">
                                    <input type="text" id="time" class="layui-input starttime" name="invoiceStartTime" placeholder="年 - 月 - 日">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" name="invoiceEndTime" placeholder="年 - 月 - 日">
                                </div>
                            </div>
<%--                            <div class="layui-inline daterange">--%>
<%--                                <label class="layui-form-label">收款日期</label>--%>
<%--                                <div class="layui-input-inline">--%>
<%--                                    <input type="text" id="timer" class="layui-input starttime" name="receivePaymentStartTime" placeholder="年 - 月 - 日">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" name="receivePaymentEndTime" placeholder="年 - 月 - 日">--%>
<%--                                </div>--%>
<%--                            </div>--%>
                            <div class="layui-inline">
                                <label class="layui-form-label">发票编号</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="invoiceCode" id="invoiceCode" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">合同编号</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="contractCode" id="contractCode" autocomplete="off" placeholder="">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">币种</label>
                                <div class="layui-input-inline">
                                    <select name="currencyCode" id="currencyCode" lay-search>
                                        <option value=""></option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">收款类型</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="isDone" class="xm-select-demo"></div>
                                </div>
                            </div>


                           <%-- <div class="layui-inline">
                                <label class="layui-form-label">客户名称</label>
                                <div class="layui-input-inline">
                                    <div class="layui-input-block" style="margin-left: 0;width: 100%" id="customerSelect"></div>
                                    <input type="hidden" id="customerName" name="customerName">
                                    <input type="hidden" id="customerCode" name="customerCode">
                                </div>
                            </div>--%>


                            <div class="layui-inline">
                                <label class="layui-form-label">客户名称</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="customerName" id="customerName">
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">客户编号</label>
                                <div class="layui-input-inline">
                                    <input class="text layui-input" type="text"  name="customerCode" id="customerCode">
                                </div>
                            </div>


                            <div class="layui-inline daterange">
                                <label class="layui-form-label">认领日期</label>
                                <div class="layui-input-inline">
                                    <input type="text" id="claimDate" class="layui-input starttime" name="startClaimDate" placeholder="年 - 月 - 日">&nbsp;至&nbsp;<input type="text" class="layui-input starttime" name="endClaimDate" placeholder="年 - 月 - 日">
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">价格术语</label>
                                <div class="layui-input-inline" style="width: 200px">
                                    <div id="priceTerms" class="xm-select-demo" style="width: 200px;"></div>
                                </div>
                            </div>
                            <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="submitform" style="margin-left: 10px">搜索</button>
                            <button type="reset" class="layui-btn layui-btn-sm layui-btn-submit" id="clear">重置</button>
                            <button class="layui-btn layui-btn-sm layui-btn-submit" lay-submit="" lay-filter="exportData" style="margin-left: 10px">导出Excel</button>
                        </form>
                        <table class="layui-table" id="collection2Select" lay-filter="collection2Table"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="collection2Toolbar">
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/modules/xm-select.js"></script>
<script src="statics/js/Money/tpl/collectionStatistics2diff.js"></script>